import $ from 'jquery';
import Map from 'ol/Map';
import { OSM, BingMaps, Vector as VectorSource } from 'ol/source';
import { Tile as TileLayer, Vector as VectorLayer } from 'ol/layer';
import View from 'ol/View';
import { Attribution, FullScreen, defaults as defaultControls } from 'ol/control';
import { GeoJSON } from 'ol/format'
import { platformModifierKeyOnly } from 'ol/events/condition';
import { Select, DragBox } from 'ol/interaction'


const map = new Map({
    layers: [
        new TileLayer({
            source: new OSM(),
        }),
    ],
    target: 'map',
    view: new View({
        center: [-8730000, 5930000],
        rotation: Math.PI / 5,
        zoom: 8,
    }),
});

// $('.ol-zoom-in, .ol-zoom-out').tooltip({
//     placement: 'right',
// });
// $('.ol-rotate-reset, .ol-attribution button[title]').tooltip({
//     placement: 'left',
// });
